package com.ruoyi.standingbook.lamp.service;

import com.ruoyi.standingbook.lamp.domain.vo.LampImportDetailVo;
import com.ruoyi.standingbook.lamp.domain.bo.LampImportDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 路灯管养导入明细Service接口
 *
 * @author cc
 * @date 2023-08-29
 */
public interface ILampImportDetailService {

    /**
     * 查询路灯管养导入明细
     */
    LampImportDetailVo queryById(Long id);

    /**
     * 查询路灯管养导入明细列表
     */
    TableDataInfo<LampImportDetailVo> queryPageList(LampImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询路灯管养导入明细列表
     */
    List<LampImportDetailVo> queryList(LampImportDetailBo bo);

    /**
     * 新增路灯管养导入明细
     */
    Boolean insertByBo(LampImportDetailBo bo);

    /**
     * 修改路灯管养导入明细
     */
    Boolean updateByBo(LampImportDetailBo bo);

    /**
     * 校验并批量删除路灯管养导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    Boolean batchInsertVo(List<LampImportDetailVo> voList);
}
